package me.aip.mov.constant;

public class Constant {


    public interface Redis {
        Integer EXPIRE_TIME_MINUTE = 60;// 过期时间, 60s, 一分钟
        Integer EXPIRE_TIME_HOUR = 60 * 60;// 过期时间, 一小时
        Integer EXPIRE_TIME_DAY = 60 * 60 * 24;// 过期时间, 一天

        String TOKEN_PREFIX = "online-token:";
        String USERID_PREFIX = "online-userid:";
        String ACCESS_LIMIT_PREFIX = "accessLimit:";
    }

}
